package com.xxx.files;

import java.sql.PreparedStatement;

/**
 * @version v1.0
 * @Description:
 * @Author zhanzhongxin
 * @Date 2021/7/23 14:11
 * @Copyright 博为峰
 */
public class DGDemo {
    public static void main(String[] args) {
//        for (int i = 0; i < 5; i++) {
//            System.out.println(i);
//        }
        show(5);//java.lang.StackOverflowError
    }

    public static void show(int a) {
        System.out.println(a);
        a--;
        if (a > 0) {
            show(a);
        }
    }
}
